#include "sct/rtspserver/rtspserverinterface.h"

#include "sct/rtspserver/rtspserver.h"

namespace sct
{

CRTSPServerInterface* CRTSPServerInterface::create(const char * name, const int port)
{
	if(strcmp(name, "rtspserver") == 0)
	{
		SCT_LOGD("create CLive555Server!!");
		return new CRTSPServer(port);
	}
	else
	{
		SCT_LOGD("create empty rtsp server!");
		return new CRTSPServerInterface;
	}
}
}
